/**
 * 
 */
package ltu.m7011e.server.dao;

import java.util.ArrayList;
import java.util.Collection;
import java.util.List;

import com.google.appengine.api.datastore.Key;

import ltu.m7011e.server.pojo.LinkEntity;

/**
 * @author robinelmouahidine
 *
 */
public interface ILinkDao {

	public void postLinkDao (LinkEntity newLink);
	public List<LinkEntity> getNewestLinks(int numberOfRecords,int firstResult);
	public List<LinkEntity> getNewestLinksByCat(int numberOfRecords,int firstResult,String linkCat);
	public List<LinkEntity> getTopLinks(int numberOfRecords,int firstResult);
	public boolean addLikeDao(Key linkKey ,String googleUserId);
	public List<LinkEntity> getLinkById(Key linkKey);
}
